import { Controller, Get, Query } from '@nestjs/common';
import { WifiIpService } from './wifi-ip.service';

@Controller()
export class WifiIpController {
  constructor(private wifiIpService: WifiIpService) {}

  @Get('wifi-ip')
  async getWifiIP(@Query('SN') SN: string) {
    return this.wifiIpService.getWifiIP(SN);
  }
}
